package com.eedi.org.healthinfo.controller.vo;

import com.eedi.framework.common.enums.CommonStatusEnum;
import com.eedi.framework.common.validation.UpdateGroup;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Schema(description = "健康资讯分类更新状态 Request VO")
@Data
public class OrgHealthInfoGroupUpdateStatusReqVO {

    /**
     * 健康资讯分类ID
     */
    @Schema(description = "健康资讯分类ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "8653")
    @NotEmpty(message = "健康资讯分类ID不能为空" , groups = UpdateGroup.class)
    private String orgHealthInfoGroupId;

    /**
     * 状态
     */
    @Schema(description = "状态，见 CommonStatusEnum 枚举", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "状态不能为空")
    private CommonStatusEnum orgStatus;

}
